package com.test.p04abstractfactory.example01;

public class Clinet01 {
    public static void main(String[] args) {
        CarFactory carFactory = new LuxureyCarFactory();
        Engine engine = carFactory.createEngine();
        Seat seat = carFactory.createSeat();
        Tyre tyre = carFactory.creatTyre();
        engine.start();
        engine.run();
        seat.massage();
        tyre.revolve();
    }
}
